@import "~ant-design-vue/es/style/themes/default.less";

.ant-pro-global-header-index-action1 {
  cursor: pointer;
  padding: 0 14px;
  display: inline-block;
  transition: all .3s;
  height: 70%;
  line-height: 46px;
  color: #ffffff;
}
.ant-pro-global-header-index-action1:hover {
  background: rgba(0, 0, 0, 0.1);
  color: #ffffff;
}
.ant-pro-global-header-index-action:hover {
  background: rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

.ant-pro-global-header-index-right {
  margin-right: 8px;

  &.ant-pro-global-header-index-dark {
    .ant-pro-global-header-index-action {
      color: hsla(0, 0%, 100%, .85);

      &:hover {
        background: #1890ff;
      }
    }
  }

  .ant-pro-account-avatar {
    .antd-pro-global-header-index-avatar {
      margin: ~'calc((@{layout-header-height} - 24px) / 2)' 0;
      margin-right: 8px;
      color: @primary-color;
      vertical-align: top;
      background: rgba(255, 255, 255, 0.85);
    }
  }

  .menu {
    .anticon {
      margin-right: 8px;
    }

    .ant-dropdown-menu-item {
      min-width: 100px;
    }
  }
}
.ant-layout-sider-light {
  .ant-pro-global-header{
    background-color: #1890ff;
    span{
      color: white;
    }
    a{
      color: white !important;;
    }
    i{
      color: white
    }
  }
}

//.ant-pro-global-header{
//  background-color:  ~"@{primary-color}";
//}
.ant-layout-sider-light + .ant-layout .ant-pro-global-header{
  background-color: #1890ff;
}
.ant-pro-sider-menu-sider.light .ant-pro-sider-menu-logo{
  background-color:  #1890ff;
}

.ant-pro-sider-menu-sider h1{
    color: white !important;
}
.ant-layout-sider-light + .ant-layout .ant-pro-global-header span{
  color:white
}
.ant-layout-sider-light + .ant-layout .ant-pro-global-header a{
  color:white
}
.ant-layout-sider-dark + .ant-layout .ant-pro-global-header a{
  color:rgba(0, 0, 0, 0.65);
}
